PackageReader.FileExists Method

Gets a value indicating whether the file exists in the package.

Parent Type: PackageReader

Namespace: Microsoft.LearningComponents

Assembly: Microsoft.LearningComponents.dll

Syntax
C#

public abstract bool FileExists (
string filePath

)

Parameters

filePath

The package-relative path to the file; for example, "imsmanifest.xml" or "page3/diagram4.gif". This path should have no URL encoding.

Return Value

true if the file exists; otherwise false if the file does not exist or if the file is a directory.